<@admin.html >
<div class="title">
<h1><#if present??>编辑礼物<#else>新增礼物</#if></h1>
	<span class="tTip">标注"<em>*</em>"为必填项</span>
</div>
<div class="box">
	<div class="inner">
		<div class="tx_table">
			<h2><#if (present??&&present.id??)>编辑礼物<#else>新增礼物</#if></h2>
			<form name="saveForm" id="saveForm" action="${base}/admin/recruit/index!save" method="post">
				
			<div class="data">
				<table>
					<colgroup width="24%"></colgroup>
					<tbody>
						<tr>
							<th>礼物名称：</th>
							<td>
								<input class="Q" type="text" name="present.name" id="presentName" size="32" value="${(present.name)!}"/>
								<span id="presentNameTip"></span>
							</td>
						</tr>
						<tr>
							<th>礼物积分：</th>
							<td>
								<input class="Q" type="text" name="present.point" id="presentPoint" size="32" value="${(present.point)!}"/>
								<span id="presentPointTip"></span>
							</td>
						</tr>
						<tr>
							<th>礼物预览图片上传：</th>
							<td class="tx_sender" style="text-align:left;">
								<input id="upload_1" class="F" name="upload" type="file" value="" onchange="return ajaxFileUpload(this);"/>
								<img id="loading" src="" style="display:none;">
								<input id="hidden_1" type="hidden" name="present.path" value=""/>	
							</td>
						</tr>
						<tr>
							<th>图片预览：</th>
							<td>
								<ul class="pic_preview">
									<li>
										<span class="pic">
											<div id="imgshow_pic">
												<#if (present??&&present.path)>
												<img id="imgshow_1" width="474px" height="198px" src="${(present.path)!}"class="multiple_img"/>
												<#else>
												<img id="imgshow_1" width="474px" height="198px" src="${statics}/plugins/fileupload/pic_upload_default.jpg"  class="multiple_img"/>
												</#if>
											</div>
										</span>

									</li>
								</ul>
							</td>
						</tr>
					</tbody>
				</table>
				<div class="tx_sender">
						<input class="step" type="submit" value="保 存" />
				</div>
			</div>
			</form>
		</div>
	</div>
</div>
</@admin.html >